package a.h;

import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;

class hb
  implements mc.a_
{
  private Collection a;
  
  public hb(Collection paramCollection)
  {
    this.a = paramCollection;
  }
  
  public Collection a()
  {
    return this.a;
  }
  
  public void a(Image paramImage)
  {
    a(new ed(paramImage, null));
  }
  
  public void a(URL paramURL)
  {
    BufferedImage localBufferedImage = null;
    try
    {
      localBufferedImage = ImageIO.read(paramURL);
      a(new ed(localBufferedImage, paramURL));
    }
    catch (IOException localIOException)
    {
      a(new ed(null, paramURL));
    }
  }
  
  public void a(ed paramed)
  {
    if ((ec.t != 0) || (!this.a.contains(paramed))) {
      this.a.add(paramed);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.hb

 * JD-Core Version:    0.7.0.1

 */